<?php
namespace Admin\Model;
use Think\Model;
class ClasslModel extends Model {
    //自动验证
    protected $_validate = array(
         array('classl_id','require','必须！',self::EXISTS_VALIDATE ),
         array('classl_name','require','一级分类名称必须！',self::EXISTS_VALIDATE ),
         array('classl_order','require','排序必须！',self::EXISTS_VALIDATE ),
         array('classl_img','require','大分类图像必须！',self::EXISTS_VALIDATE ),
         array('classl_status','require','开启状态必须！',self::EXISTS_VALIDATE ),
         
    );
    // 自动填充设置
    protected $_auto = array(
         
    );
}